Skip to content

feat: improve testing of http2#3719

Open
Uzlopak wants to merge 1 commit intomainfrom
check-http2
Open

feat: improve testing of http2#3719
Uzlopak wants to merge 1 commit intomainfrom
check-http2

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Oct 11, 2024

I am too lazy to build with without-ssl flag locally. I think the values we destructure when importing http2 are not critical. more critical is, that http2.connect is not replaced with some function which throws an Internal Error which would indicate that http2 is not supported. Probably we get only a "connect is not defined" error. when calling it.

@mcollina
Copy link
Member

seems CI is failing

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Oct 12, 2024

I am still checking if this makes any sense. maybe a proxyquire would be more useful instead of using this approach.

@mcollina
Copy link
Member

I think we should just skip a bunch of tests if ssl is not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants